<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<!-- enctype="multipart/form-data" -->
<form enctype="application/x-www-form-urlencoded">


</form>
    <script>
        // let response="{\"code\":200,\"msg\":\"请求成功\",\"result\":null,\"ok\":false}";
        // let jsonObject=JSON.parse(response);
        // if(jsonObject.code==200){
        //     alert("请求成功");
        // }else{
        //     alert("请求失败");
        // }
        let encode = encodeURIComponent("a&b=1");
        alert(encode);

    </script>
</body>
</html>